package com.pearadmin.hospital.mapper;

import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.pearadmin.hospital.domain.HospitalReturnsupplier;

/**
 * 退货给供应商Mapper接口
 * 
 * @author yuan
 * @date 2021-07-29
 */
@Mapper
public interface HospitalReturnsupplierMapper 
{
    /**
     * 查询退货给供应商
     * 
     * @param id 退货给供应商ID
     * @return 退货给供应商
     */
    public HospitalReturnsupplier selectHospitalReturnsupplierById(Integer id);

    /**
     * 查询退货给供应商列表
     * 
     * @param hospitalReturnsupplier 退货给供应商
     * @return 退货给供应商集合
     */
    List<HospitalReturnsupplier> selectHospitalReturnsupplierList(HospitalReturnsupplier hospitalReturnsupplier);

    /**
     * 新增退货给供应商
     * 
     * @param hospitalReturnsupplier 退货给供应商
     * @return 结果
     */
    int insertHospitalReturnsupplier(HospitalReturnsupplier hospitalReturnsupplier);

    /**
     * 修改退货给供应商
     * 
     * @param hospitalReturnsupplier 退货给供应商
     * @return 结果
     */
    int updateHospitalReturnsupplier(HospitalReturnsupplier hospitalReturnsupplier);

    /**
     * 删除退货给供应商
     * 
     * @param id 退货给供应商ID
     * @return 结果
     */
    int deleteHospitalReturnsupplierById(Integer id);

    /**
     * 批量删除退货给供应商
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteHospitalReturnsupplierByIds(String[] ids);

}
